package com.dy.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.dy.common.annotation.Excel;
import com.dy.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 monitor_manage
 *
 * @author anps
 * @date 2022-08-04
 */
public class MonitorManage extends BaseEntity{
    private static final long serialVersionUID = 1L;

    /** 监控管理唯一键 */
    private Long id;

    /** 监控名称 */
    @Excel(name = "监控名称")
    private String name;

    /** 监控IP */
    @Excel(name = "监控IP")
    private String ipAddr;

    /** 监控端口 */
    @Excel(name = "监控端口")
    private String ipPort;

    /** 所属部门 */
    @Excel(name = "所属部门")
    private Long deptId;

    /** 所属机构唯一id */
    @Excel(name = "所属机构唯一id")
    private Long institutionId;

    /** 网络在线状态 */
    @Excel(name = "网络在线状态")
    private String netStatus;

    public void setId(Long id){
        this.id = id;
    }

    public Long getId(){
        return id;
    }
    public void setName(String name){
        this.name = name;
    }

    public String getName(){
        return name;
    }
    public void setIpAddr(String ipAddr){
        this.ipAddr = ipAddr;
    }

    public String getIpAddr(){
        return ipAddr;
    }
    public void setIpPort(String ipPort){
        this.ipPort = ipPort;
    }

    public String getIpPort(){
        return ipPort;
    }
    public void setDeptId(Long deptId){
        this.deptId = deptId;
    }

    public Long getDeptId(){
        return deptId;
    }
    public void setInstitutionId(Long institutionId){
        this.institutionId = institutionId;
    }

    public Long getInstitutionId(){
        return institutionId;
    }
    public void setNetStatus(String netStatus){
        this.netStatus = netStatus;
    }

    public String getNetStatus(){
        return netStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("ipAddr", getIpAddr())
            .append("ipPort", getIpPort())
            .append("deptId", getDeptId())
            .append("institutionId", getInstitutionId())
            .append("netStatus", getNetStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
